package com.qding.park.manager.service.core.mapper.model;


import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class QdpkParkspaceExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private Integer limit;

    private Integer offset;

    public QdpkParkspaceExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setOffset(Integer offset) {
        this.offset = offset;
    }

    public Integer getOffset() {
        return offset;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("ID is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("ID is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("ID =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("ID <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("ID >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("ID >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("ID <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("ID <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("ID in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("ID not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("ID between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("ID not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andNameIsNull() {
            addCriterion("Name is null");
            return (Criteria) this;
        }

        public Criteria andNameIsNotNull() {
            addCriterion("Name is not null");
            return (Criteria) this;
        }

        public Criteria andNameEqualTo(String value) {
            addCriterion("Name =", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotEqualTo(String value) {
            addCriterion("Name <>", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThan(String value) {
            addCriterion("Name >", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualTo(String value) {
            addCriterion("Name >=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThan(String value) {
            addCriterion("Name <", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualTo(String value) {
            addCriterion("Name <=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLike(String value) {
            addCriterion("Name like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotLike(String value) {
            addCriterion("Name not like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameIn(List<String> values) {
            addCriterion("Name in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotIn(List<String> values) {
            addCriterion("Name not in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameBetween(String value1, String value2) {
            addCriterion("Name between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotBetween(String value1, String value2) {
            addCriterion("Name not between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andRulecontentIsNull() {
            addCriterion("RuleContent is null");
            return (Criteria) this;
        }

        public Criteria andRulecontentIsNotNull() {
            addCriterion("RuleContent is not null");
            return (Criteria) this;
        }

        public Criteria andRulecontentEqualTo(String value) {
            addCriterion("RuleContent =", value, "rulecontent");
            return (Criteria) this;
        }

        public Criteria andRulecontentNotEqualTo(String value) {
            addCriterion("RuleContent <>", value, "rulecontent");
            return (Criteria) this;
        }

        public Criteria andRulecontentGreaterThan(String value) {
            addCriterion("RuleContent >", value, "rulecontent");
            return (Criteria) this;
        }

        public Criteria andRulecontentGreaterThanOrEqualTo(String value) {
            addCriterion("RuleContent >=", value, "rulecontent");
            return (Criteria) this;
        }

        public Criteria andRulecontentLessThan(String value) {
            addCriterion("RuleContent <", value, "rulecontent");
            return (Criteria) this;
        }

        public Criteria andRulecontentLessThanOrEqualTo(String value) {
            addCriterion("RuleContent <=", value, "rulecontent");
            return (Criteria) this;
        }

        public Criteria andRulecontentLike(String value) {
            addCriterion("RuleContent like", value, "rulecontent");
            return (Criteria) this;
        }

        public Criteria andRulecontentNotLike(String value) {
            addCriterion("RuleContent not like", value, "rulecontent");
            return (Criteria) this;
        }

        public Criteria andRulecontentIn(List<String> values) {
            addCriterion("RuleContent in", values, "rulecontent");
            return (Criteria) this;
        }

        public Criteria andRulecontentNotIn(List<String> values) {
            addCriterion("RuleContent not in", values, "rulecontent");
            return (Criteria) this;
        }

        public Criteria andRulecontentBetween(String value1, String value2) {
            addCriterion("RuleContent between", value1, value2, "rulecontent");
            return (Criteria) this;
        }

        public Criteria andRulecontentNotBetween(String value1, String value2) {
            addCriterion("RuleContent not between", value1, value2, "rulecontent");
            return (Criteria) this;
        }

        public Criteria andPropertyidIsNull() {
            addCriterion("PropertyID is null");
            return (Criteria) this;
        }

        public Criteria andPropertyidIsNotNull() {
            addCriterion("PropertyID is not null");
            return (Criteria) this;
        }

        public Criteria andPropertyidEqualTo(Integer value) {
            addCriterion("PropertyID =", value, "propertyid");
            return (Criteria) this;
        }

        public Criteria andPropertyidNotEqualTo(Integer value) {
            addCriterion("PropertyID <>", value, "propertyid");
            return (Criteria) this;
        }

        public Criteria andPropertyidGreaterThan(Integer value) {
            addCriterion("PropertyID >", value, "propertyid");
            return (Criteria) this;
        }

        public Criteria andPropertyidGreaterThanOrEqualTo(Integer value) {
            addCriterion("PropertyID >=", value, "propertyid");
            return (Criteria) this;
        }

        public Criteria andPropertyidLessThan(Integer value) {
            addCriterion("PropertyID <", value, "propertyid");
            return (Criteria) this;
        }

        public Criteria andPropertyidLessThanOrEqualTo(Integer value) {
            addCriterion("PropertyID <=", value, "propertyid");
            return (Criteria) this;
        }

        public Criteria andPropertyidIn(List<Integer> values) {
            addCriterion("PropertyID in", values, "propertyid");
            return (Criteria) this;
        }

        public Criteria andPropertyidNotIn(List<Integer> values) {
            addCriterion("PropertyID not in", values, "propertyid");
            return (Criteria) this;
        }

        public Criteria andPropertyidBetween(Integer value1, Integer value2) {
            addCriterion("PropertyID between", value1, value2, "propertyid");
            return (Criteria) this;
        }

        public Criteria andPropertyidNotBetween(Integer value1, Integer value2) {
            addCriterion("PropertyID not between", value1, value2, "propertyid");
            return (Criteria) this;
        }

        public Criteria andPropertynameIsNull() {
            addCriterion("PropertyName is null");
            return (Criteria) this;
        }

        public Criteria andPropertynameIsNotNull() {
            addCriterion("PropertyName is not null");
            return (Criteria) this;
        }

        public Criteria andPropertynameEqualTo(String value) {
            addCriterion("PropertyName =", value, "propertyname");
            return (Criteria) this;
        }

        public Criteria andPropertynameNotEqualTo(String value) {
            addCriterion("PropertyName <>", value, "propertyname");
            return (Criteria) this;
        }

        public Criteria andPropertynameGreaterThan(String value) {
            addCriterion("PropertyName >", value, "propertyname");
            return (Criteria) this;
        }

        public Criteria andPropertynameGreaterThanOrEqualTo(String value) {
            addCriterion("PropertyName >=", value, "propertyname");
            return (Criteria) this;
        }

        public Criteria andPropertynameLessThan(String value) {
            addCriterion("PropertyName <", value, "propertyname");
            return (Criteria) this;
        }

        public Criteria andPropertynameLessThanOrEqualTo(String value) {
            addCriterion("PropertyName <=", value, "propertyname");
            return (Criteria) this;
        }

        public Criteria andPropertynameLike(String value) {
            addCriterion("PropertyName like", value, "propertyname");
            return (Criteria) this;
        }

        public Criteria andPropertynameNotLike(String value) {
            addCriterion("PropertyName not like", value, "propertyname");
            return (Criteria) this;
        }

        public Criteria andPropertynameIn(List<String> values) {
            addCriterion("PropertyName in", values, "propertyname");
            return (Criteria) this;
        }

        public Criteria andPropertynameNotIn(List<String> values) {
            addCriterion("PropertyName not in", values, "propertyname");
            return (Criteria) this;
        }

        public Criteria andPropertynameBetween(String value1, String value2) {
            addCriterion("PropertyName between", value1, value2, "propertyname");
            return (Criteria) this;
        }

        public Criteria andPropertynameNotBetween(String value1, String value2) {
            addCriterion("PropertyName not between", value1, value2, "propertyname");
            return (Criteria) this;
        }

        public Criteria andRemainingnumIsNull() {
            addCriterion("RemainingNum is null");
            return (Criteria) this;
        }

        public Criteria andRemainingnumIsNotNull() {
            addCriterion("RemainingNum is not null");
            return (Criteria) this;
        }

        public Criteria andRemainingnumEqualTo(Integer value) {
            addCriterion("RemainingNum =", value, "remainingnum");
            return (Criteria) this;
        }

        public Criteria andRemainingnumNotEqualTo(Integer value) {
            addCriterion("RemainingNum <>", value, "remainingnum");
            return (Criteria) this;
        }

        public Criteria andRemainingnumGreaterThan(Integer value) {
            addCriterion("RemainingNum >", value, "remainingnum");
            return (Criteria) this;
        }

        public Criteria andRemainingnumGreaterThanOrEqualTo(Integer value) {
            addCriterion("RemainingNum >=", value, "remainingnum");
            return (Criteria) this;
        }

        public Criteria andRemainingnumLessThan(Integer value) {
            addCriterion("RemainingNum <", value, "remainingnum");
            return (Criteria) this;
        }

        public Criteria andRemainingnumLessThanOrEqualTo(Integer value) {
            addCriterion("RemainingNum <=", value, "remainingnum");
            return (Criteria) this;
        }

        public Criteria andRemainingnumIn(List<Integer> values) {
            addCriterion("RemainingNum in", values, "remainingnum");
            return (Criteria) this;
        }

        public Criteria andRemainingnumNotIn(List<Integer> values) {
            addCriterion("RemainingNum not in", values, "remainingnum");
            return (Criteria) this;
        }

        public Criteria andRemainingnumBetween(Integer value1, Integer value2) {
            addCriterion("RemainingNum between", value1, value2, "remainingnum");
            return (Criteria) this;
        }

        public Criteria andRemainingnumNotBetween(Integer value1, Integer value2) {
            addCriterion("RemainingNum not between", value1, value2, "remainingnum");
            return (Criteria) this;
        }

        public Criteria andAllparkingnumIsNull() {
            addCriterion("AllParkingNum is null");
            return (Criteria) this;
        }

        public Criteria andAllparkingnumIsNotNull() {
            addCriterion("AllParkingNum is not null");
            return (Criteria) this;
        }

        public Criteria andAllparkingnumEqualTo(Integer value) {
            addCriterion("AllParkingNum =", value, "allparkingnum");
            return (Criteria) this;
        }

        public Criteria andAllparkingnumNotEqualTo(Integer value) {
            addCriterion("AllParkingNum <>", value, "allparkingnum");
            return (Criteria) this;
        }

        public Criteria andAllparkingnumGreaterThan(Integer value) {
            addCriterion("AllParkingNum >", value, "allparkingnum");
            return (Criteria) this;
        }

        public Criteria andAllparkingnumGreaterThanOrEqualTo(Integer value) {
            addCriterion("AllParkingNum >=", value, "allparkingnum");
            return (Criteria) this;
        }

        public Criteria andAllparkingnumLessThan(Integer value) {
            addCriterion("AllParkingNum <", value, "allparkingnum");
            return (Criteria) this;
        }

        public Criteria andAllparkingnumLessThanOrEqualTo(Integer value) {
            addCriterion("AllParkingNum <=", value, "allparkingnum");
            return (Criteria) this;
        }

        public Criteria andAllparkingnumIn(List<Integer> values) {
            addCriterion("AllParkingNum in", values, "allparkingnum");
            return (Criteria) this;
        }

        public Criteria andAllparkingnumNotIn(List<Integer> values) {
            addCriterion("AllParkingNum not in", values, "allparkingnum");
            return (Criteria) this;
        }

        public Criteria andAllparkingnumBetween(Integer value1, Integer value2) {
            addCriterion("AllParkingNum between", value1, value2, "allparkingnum");
            return (Criteria) this;
        }

        public Criteria andAllparkingnumNotBetween(Integer value1, Integer value2) {
            addCriterion("AllParkingNum not between", value1, value2, "allparkingnum");
            return (Criteria) this;
        }

        public Criteria andParkcodeIsNull() {
            addCriterion("ParkCode is null");
            return (Criteria) this;
        }

        public Criteria andParkcodeIsNotNull() {
            addCriterion("ParkCode is not null");
            return (Criteria) this;
        }

        public Criteria andParkcodeEqualTo(String value) {
            addCriterion("ParkCode =", value, "parkcode");
            return (Criteria) this;
        }

        public Criteria andParkcodeNotEqualTo(String value) {
            addCriterion("ParkCode <>", value, "parkcode");
            return (Criteria) this;
        }

        public Criteria andParkcodeGreaterThan(String value) {
            addCriterion("ParkCode >", value, "parkcode");
            return (Criteria) this;
        }

        public Criteria andParkcodeGreaterThanOrEqualTo(String value) {
            addCriterion("ParkCode >=", value, "parkcode");
            return (Criteria) this;
        }

        public Criteria andParkcodeLessThan(String value) {
            addCriterion("ParkCode <", value, "parkcode");
            return (Criteria) this;
        }

        public Criteria andParkcodeLessThanOrEqualTo(String value) {
            addCriterion("ParkCode <=", value, "parkcode");
            return (Criteria) this;
        }

        public Criteria andParkcodeLike(String value) {
            addCriterion("ParkCode like", value, "parkcode");
            return (Criteria) this;
        }

        public Criteria andParkcodeNotLike(String value) {
            addCriterion("ParkCode not like", value, "parkcode");
            return (Criteria) this;
        }

        public Criteria andParkcodeIn(List<String> values) {
            addCriterion("ParkCode in", values, "parkcode");
            return (Criteria) this;
        }

        public Criteria andParkcodeNotIn(List<String> values) {
            addCriterion("ParkCode not in", values, "parkcode");
            return (Criteria) this;
        }

        public Criteria andParkcodeBetween(String value1, String value2) {
            addCriterion("ParkCode between", value1, value2, "parkcode");
            return (Criteria) this;
        }

        public Criteria andParkcodeNotBetween(String value1, String value2) {
            addCriterion("ParkCode not between", value1, value2, "parkcode");
            return (Criteria) this;
        }

        public Criteria andSupplieridIsNull() {
            addCriterion("SupplierId is null");
            return (Criteria) this;
        }

        public Criteria andSupplieridIsNotNull() {
            addCriterion("SupplierId is not null");
            return (Criteria) this;
        }

        public Criteria andSupplieridEqualTo(Integer value) {
            addCriterion("SupplierId =", value, "supplierid");
            return (Criteria) this;
        }

        public Criteria andSupplieridNotEqualTo(Integer value) {
            addCriterion("SupplierId <>", value, "supplierid");
            return (Criteria) this;
        }

        public Criteria andSupplieridGreaterThan(Integer value) {
            addCriterion("SupplierId >", value, "supplierid");
            return (Criteria) this;
        }

        public Criteria andSupplieridGreaterThanOrEqualTo(Integer value) {
            addCriterion("SupplierId >=", value, "supplierid");
            return (Criteria) this;
        }

        public Criteria andSupplieridLessThan(Integer value) {
            addCriterion("SupplierId <", value, "supplierid");
            return (Criteria) this;
        }

        public Criteria andSupplieridLessThanOrEqualTo(Integer value) {
            addCriterion("SupplierId <=", value, "supplierid");
            return (Criteria) this;
        }

        public Criteria andSupplieridIn(List<Integer> values) {
            addCriterion("SupplierId in", values, "supplierid");
            return (Criteria) this;
        }

        public Criteria andSupplieridNotIn(List<Integer> values) {
            addCriterion("SupplierId not in", values, "supplierid");
            return (Criteria) this;
        }

        public Criteria andSupplieridBetween(Integer value1, Integer value2) {
            addCriterion("SupplierId between", value1, value2, "supplierid");
            return (Criteria) this;
        }

        public Criteria andSupplieridNotBetween(Integer value1, Integer value2) {
            addCriterion("SupplierId not between", value1, value2, "supplierid");
            return (Criteria) this;
        }

        public Criteria andBjprojectidIsNull() {
            addCriterion("bjprojectId is null");
            return (Criteria) this;
        }

        public Criteria andBjprojectidIsNotNull() {
            addCriterion("bjprojectId is not null");
            return (Criteria) this;
        }

        public Criteria andBjprojectidEqualTo(String value) {
            addCriterion("bjprojectId =", value, "bjprojectid");
            return (Criteria) this;
        }

        public Criteria andBjprojectidNotEqualTo(String value) {
            addCriterion("bjprojectId <>", value, "bjprojectid");
            return (Criteria) this;
        }

        public Criteria andBjprojectidGreaterThan(String value) {
            addCriterion("bjprojectId >", value, "bjprojectid");
            return (Criteria) this;
        }

        public Criteria andBjprojectidGreaterThanOrEqualTo(String value) {
            addCriterion("bjprojectId >=", value, "bjprojectid");
            return (Criteria) this;
        }

        public Criteria andBjprojectidLessThan(String value) {
            addCriterion("bjprojectId <", value, "bjprojectid");
            return (Criteria) this;
        }

        public Criteria andBjprojectidLessThanOrEqualTo(String value) {
            addCriterion("bjprojectId <=", value, "bjprojectid");
            return (Criteria) this;
        }

        public Criteria andBjprojectidLike(String value) {
            addCriterion("bjprojectId like", value, "bjprojectid");
            return (Criteria) this;
        }

        public Criteria andBjprojectidNotLike(String value) {
            addCriterion("bjprojectId not like", value, "bjprojectid");
            return (Criteria) this;
        }

        public Criteria andBjprojectidIn(List<String> values) {
            addCriterion("bjprojectId in", values, "bjprojectid");
            return (Criteria) this;
        }

        public Criteria andBjprojectidNotIn(List<String> values) {
            addCriterion("bjprojectId not in", values, "bjprojectid");
            return (Criteria) this;
        }

        public Criteria andBjprojectidBetween(String value1, String value2) {
            addCriterion("bjprojectId between", value1, value2, "bjprojectid");
            return (Criteria) this;
        }

        public Criteria andBjprojectidNotBetween(String value1, String value2) {
            addCriterion("bjprojectId not between", value1, value2, "bjprojectid");
            return (Criteria) this;
        }

        public Criteria andReservedepositIsNull() {
            addCriterion("Reservedeposit is null");
            return (Criteria) this;
        }

        public Criteria andReservedepositIsNotNull() {
            addCriterion("Reservedeposit is not null");
            return (Criteria) this;
        }

        public Criteria andReservedepositEqualTo(Integer value) {
            addCriterion("Reservedeposit =", value, "reservedeposit");
            return (Criteria) this;
        }

        public Criteria andReservedepositNotEqualTo(Integer value) {
            addCriterion("Reservedeposit <>", value, "reservedeposit");
            return (Criteria) this;
        }

        public Criteria andReservedepositGreaterThan(Integer value) {
            addCriterion("Reservedeposit >", value, "reservedeposit");
            return (Criteria) this;
        }

        public Criteria andReservedepositGreaterThanOrEqualTo(Integer value) {
            addCriterion("Reservedeposit >=", value, "reservedeposit");
            return (Criteria) this;
        }

        public Criteria andReservedepositLessThan(Integer value) {
            addCriterion("Reservedeposit <", value, "reservedeposit");
            return (Criteria) this;
        }

        public Criteria andReservedepositLessThanOrEqualTo(Integer value) {
            addCriterion("Reservedeposit <=", value, "reservedeposit");
            return (Criteria) this;
        }

        public Criteria andReservedepositIn(List<Integer> values) {
            addCriterion("Reservedeposit in", values, "reservedeposit");
            return (Criteria) this;
        }

        public Criteria andReservedepositNotIn(List<Integer> values) {
            addCriterion("Reservedeposit not in", values, "reservedeposit");
            return (Criteria) this;
        }

        public Criteria andReservedepositBetween(Integer value1, Integer value2) {
            addCriterion("Reservedeposit between", value1, value2, "reservedeposit");
            return (Criteria) this;
        }

        public Criteria andReservedepositNotBetween(Integer value1, Integer value2) {
            addCriterion("Reservedeposit not between", value1, value2, "reservedeposit");
            return (Criteria) this;
        }

        public Criteria andReservetimeIsNull() {
            addCriterion("ReserveTime is null");
            return (Criteria) this;
        }

        public Criteria andReservetimeIsNotNull() {
            addCriterion("ReserveTime is not null");
            return (Criteria) this;
        }

        public Criteria andReservetimeEqualTo(Integer value) {
            addCriterion("ReserveTime =", value, "reservetime");
            return (Criteria) this;
        }

        public Criteria andReservetimeNotEqualTo(Integer value) {
            addCriterion("ReserveTime <>", value, "reservetime");
            return (Criteria) this;
        }

        public Criteria andReservetimeGreaterThan(Integer value) {
            addCriterion("ReserveTime >", value, "reservetime");
            return (Criteria) this;
        }

        public Criteria andReservetimeGreaterThanOrEqualTo(Integer value) {
            addCriterion("ReserveTime >=", value, "reservetime");
            return (Criteria) this;
        }

        public Criteria andReservetimeLessThan(Integer value) {
            addCriterion("ReserveTime <", value, "reservetime");
            return (Criteria) this;
        }

        public Criteria andReservetimeLessThanOrEqualTo(Integer value) {
            addCriterion("ReserveTime <=", value, "reservetime");
            return (Criteria) this;
        }

        public Criteria andReservetimeIn(List<Integer> values) {
            addCriterion("ReserveTime in", values, "reservetime");
            return (Criteria) this;
        }

        public Criteria andReservetimeNotIn(List<Integer> values) {
            addCriterion("ReserveTime not in", values, "reservetime");
            return (Criteria) this;
        }

        public Criteria andReservetimeBetween(Integer value1, Integer value2) {
            addCriterion("ReserveTime between", value1, value2, "reservetime");
            return (Criteria) this;
        }

        public Criteria andReservetimeNotBetween(Integer value1, Integer value2) {
            addCriterion("ReserveTime not between", value1, value2, "reservetime");
            return (Criteria) this;
        }

        public Criteria andVisitingcheckIsNull() {
            addCriterion("visitingCheck is null");
            return (Criteria) this;
        }

        public Criteria andVisitingcheckIsNotNull() {
            addCriterion("visitingCheck is not null");
            return (Criteria) this;
        }

        public Criteria andVisitingcheckEqualTo(Byte value) {
            addCriterion("visitingCheck =", value, "visitingcheck");
            return (Criteria) this;
        }

        public Criteria andVisitingcheckNotEqualTo(Byte value) {
            addCriterion("visitingCheck <>", value, "visitingcheck");
            return (Criteria) this;
        }

        public Criteria andVisitingcheckGreaterThan(Byte value) {
            addCriterion("visitingCheck >", value, "visitingcheck");
            return (Criteria) this;
        }

        public Criteria andVisitingcheckGreaterThanOrEqualTo(Byte value) {
            addCriterion("visitingCheck >=", value, "visitingcheck");
            return (Criteria) this;
        }

        public Criteria andVisitingcheckLessThan(Byte value) {
            addCriterion("visitingCheck <", value, "visitingcheck");
            return (Criteria) this;
        }

        public Criteria andVisitingcheckLessThanOrEqualTo(Byte value) {
            addCriterion("visitingCheck <=", value, "visitingcheck");
            return (Criteria) this;
        }

        public Criteria andVisitingcheckIn(List<Byte> values) {
            addCriterion("visitingCheck in", values, "visitingcheck");
            return (Criteria) this;
        }

        public Criteria andVisitingcheckNotIn(List<Byte> values) {
            addCriterion("visitingCheck not in", values, "visitingcheck");
            return (Criteria) this;
        }

        public Criteria andVisitingcheckBetween(Byte value1, Byte value2) {
            addCriterion("visitingCheck between", value1, value2, "visitingcheck");
            return (Criteria) this;
        }

        public Criteria andVisitingcheckNotBetween(Byte value1, Byte value2) {
            addCriterion("visitingCheck not between", value1, value2, "visitingcheck");
            return (Criteria) this;
        }

        public Criteria andDeferredReservationIsNull() {
            addCriterion("Deferred_Reservation is null");
            return (Criteria) this;
        }

        public Criteria andDeferredReservationIsNotNull() {
            addCriterion("Deferred_Reservation is not null");
            return (Criteria) this;
        }

        public Criteria andDeferredReservationEqualTo(Integer value) {
            addCriterion("Deferred_Reservation =", value, "deferredReservation");
            return (Criteria) this;
        }

        public Criteria andDeferredReservationNotEqualTo(Integer value) {
            addCriterion("Deferred_Reservation <>", value, "deferredReservation");
            return (Criteria) this;
        }

        public Criteria andDeferredReservationGreaterThan(Integer value) {
            addCriterion("Deferred_Reservation >", value, "deferredReservation");
            return (Criteria) this;
        }

        public Criteria andDeferredReservationGreaterThanOrEqualTo(Integer value) {
            addCriterion("Deferred_Reservation >=", value, "deferredReservation");
            return (Criteria) this;
        }

        public Criteria andDeferredReservationLessThan(Integer value) {
            addCriterion("Deferred_Reservation <", value, "deferredReservation");
            return (Criteria) this;
        }

        public Criteria andDeferredReservationLessThanOrEqualTo(Integer value) {
            addCriterion("Deferred_Reservation <=", value, "deferredReservation");
            return (Criteria) this;
        }

        public Criteria andDeferredReservationIn(List<Integer> values) {
            addCriterion("Deferred_Reservation in", values, "deferredReservation");
            return (Criteria) this;
        }

        public Criteria andDeferredReservationNotIn(List<Integer> values) {
            addCriterion("Deferred_Reservation not in", values, "deferredReservation");
            return (Criteria) this;
        }

        public Criteria andDeferredReservationBetween(Integer value1, Integer value2) {
            addCriterion("Deferred_Reservation between", value1, value2, "deferredReservation");
            return (Criteria) this;
        }

        public Criteria andDeferredReservationNotBetween(Integer value1, Integer value2) {
            addCriterion("Deferred_Reservation not between", value1, value2, "deferredReservation");
            return (Criteria) this;
        }

        public Criteria andReservercontectIsNull() {
            addCriterion("ReserverContect is null");
            return (Criteria) this;
        }

        public Criteria andReservercontectIsNotNull() {
            addCriterion("ReserverContect is not null");
            return (Criteria) this;
        }

        public Criteria andReservercontectEqualTo(String value) {
            addCriterion("ReserverContect =", value, "reservercontect");
            return (Criteria) this;
        }

        public Criteria andReservercontectNotEqualTo(String value) {
            addCriterion("ReserverContect <>", value, "reservercontect");
            return (Criteria) this;
        }

        public Criteria andReservercontectGreaterThan(String value) {
            addCriterion("ReserverContect >", value, "reservercontect");
            return (Criteria) this;
        }

        public Criteria andReservercontectGreaterThanOrEqualTo(String value) {
            addCriterion("ReserverContect >=", value, "reservercontect");
            return (Criteria) this;
        }

        public Criteria andReservercontectLessThan(String value) {
            addCriterion("ReserverContect <", value, "reservercontect");
            return (Criteria) this;
        }

        public Criteria andReservercontectLessThanOrEqualTo(String value) {
            addCriterion("ReserverContect <=", value, "reservercontect");
            return (Criteria) this;
        }

        public Criteria andReservercontectLike(String value) {
            addCriterion("ReserverContect like", value, "reservercontect");
            return (Criteria) this;
        }

        public Criteria andReservercontectNotLike(String value) {
            addCriterion("ReserverContect not like", value, "reservercontect");
            return (Criteria) this;
        }

        public Criteria andReservercontectIn(List<String> values) {
            addCriterion("ReserverContect in", values, "reservercontect");
            return (Criteria) this;
        }

        public Criteria andReservercontectNotIn(List<String> values) {
            addCriterion("ReserverContect not in", values, "reservercontect");
            return (Criteria) this;
        }

        public Criteria andReservercontectBetween(String value1, String value2) {
            addCriterion("ReserverContect between", value1, value2, "reservercontect");
            return (Criteria) this;
        }

        public Criteria andReservercontectNotBetween(String value1, String value2) {
            addCriterion("ReserverContect not between", value1, value2, "reservercontect");
            return (Criteria) this;
        }

        public Criteria andOnlinestatusIsNull() {
            addCriterion("OnlineStatus is null");
            return (Criteria) this;
        }

        public Criteria andOnlinestatusIsNotNull() {
            addCriterion("OnlineStatus is not null");
            return (Criteria) this;
        }

        public Criteria andOnlinestatusEqualTo(Integer value) {
            addCriterion("OnlineStatus =", value, "onlinestatus");
            return (Criteria) this;
        }

        public Criteria andOnlinestatusNotEqualTo(Integer value) {
            addCriterion("OnlineStatus <>", value, "onlinestatus");
            return (Criteria) this;
        }

        public Criteria andOnlinestatusGreaterThan(Integer value) {
            addCriterion("OnlineStatus >", value, "onlinestatus");
            return (Criteria) this;
        }

        public Criteria andOnlinestatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("OnlineStatus >=", value, "onlinestatus");
            return (Criteria) this;
        }

        public Criteria andOnlinestatusLessThan(Integer value) {
            addCriterion("OnlineStatus <", value, "onlinestatus");
            return (Criteria) this;
        }

        public Criteria andOnlinestatusLessThanOrEqualTo(Integer value) {
            addCriterion("OnlineStatus <=", value, "onlinestatus");
            return (Criteria) this;
        }

        public Criteria andOnlinestatusIn(List<Integer> values) {
            addCriterion("OnlineStatus in", values, "onlinestatus");
            return (Criteria) this;
        }

        public Criteria andOnlinestatusNotIn(List<Integer> values) {
            addCriterion("OnlineStatus not in", values, "onlinestatus");
            return (Criteria) this;
        }

        public Criteria andOnlinestatusBetween(Integer value1, Integer value2) {
            addCriterion("OnlineStatus between", value1, value2, "onlinestatus");
            return (Criteria) this;
        }

        public Criteria andOnlinestatusNotBetween(Integer value1, Integer value2) {
            addCriterion("OnlineStatus not between", value1, value2, "onlinestatus");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("Status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("Status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Byte value) {
            addCriterion("Status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Byte value) {
            addCriterion("Status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Byte value) {
            addCriterion("Status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Byte value) {
            addCriterion("Status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Byte value) {
            addCriterion("Status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Byte value) {
            addCriterion("Status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Byte> values) {
            addCriterion("Status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Byte> values) {
            addCriterion("Status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Byte value1, Byte value2) {
            addCriterion("Status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Byte value1, Byte value2) {
            addCriterion("Status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andBusinessdateIsNull() {
            addCriterion("BusinessDate is null");
            return (Criteria) this;
        }

        public Criteria andBusinessdateIsNotNull() {
            addCriterion("BusinessDate is not null");
            return (Criteria) this;
        }

        public Criteria andBusinessdateEqualTo(Date value) {
            addCriterion("BusinessDate =", value, "businessdate");
            return (Criteria) this;
        }

        public Criteria andBusinessdateNotEqualTo(Date value) {
            addCriterion("BusinessDate <>", value, "businessdate");
            return (Criteria) this;
        }

        public Criteria andBusinessdateGreaterThan(Date value) {
            addCriterion("BusinessDate >", value, "businessdate");
            return (Criteria) this;
        }

        public Criteria andBusinessdateGreaterThanOrEqualTo(Date value) {
            addCriterion("BusinessDate >=", value, "businessdate");
            return (Criteria) this;
        }

        public Criteria andBusinessdateLessThan(Date value) {
            addCriterion("BusinessDate <", value, "businessdate");
            return (Criteria) this;
        }

        public Criteria andBusinessdateLessThanOrEqualTo(Date value) {
            addCriterion("BusinessDate <=", value, "businessdate");
            return (Criteria) this;
        }

        public Criteria andBusinessdateIn(List<Date> values) {
            addCriterion("BusinessDate in", values, "businessdate");
            return (Criteria) this;
        }

        public Criteria andBusinessdateNotIn(List<Date> values) {
            addCriterion("BusinessDate not in", values, "businessdate");
            return (Criteria) this;
        }

        public Criteria andBusinessdateBetween(Date value1, Date value2) {
            addCriterion("BusinessDate between", value1, value2, "businessdate");
            return (Criteria) this;
        }

        public Criteria andBusinessdateNotBetween(Date value1, Date value2) {
            addCriterion("BusinessDate not between", value1, value2, "businessdate");
            return (Criteria) this;
        }

        public Criteria andOperationstateIsNull() {
            addCriterion("OperationState is null");
            return (Criteria) this;
        }

        public Criteria andOperationstateIsNotNull() {
            addCriterion("OperationState is not null");
            return (Criteria) this;
        }

        public Criteria andOperationstateEqualTo(Byte value) {
            addCriterion("OperationState =", value, "operationstate");
            return (Criteria) this;
        }

        public Criteria andOperationstateNotEqualTo(Byte value) {
            addCriterion("OperationState <>", value, "operationstate");
            return (Criteria) this;
        }

        public Criteria andOperationstateGreaterThan(Byte value) {
            addCriterion("OperationState >", value, "operationstate");
            return (Criteria) this;
        }

        public Criteria andOperationstateGreaterThanOrEqualTo(Byte value) {
            addCriterion("OperationState >=", value, "operationstate");
            return (Criteria) this;
        }

        public Criteria andOperationstateLessThan(Byte value) {
            addCriterion("OperationState <", value, "operationstate");
            return (Criteria) this;
        }

        public Criteria andOperationstateLessThanOrEqualTo(Byte value) {
            addCriterion("OperationState <=", value, "operationstate");
            return (Criteria) this;
        }

        public Criteria andOperationstateIn(List<Byte> values) {
            addCriterion("OperationState in", values, "operationstate");
            return (Criteria) this;
        }

        public Criteria andOperationstateNotIn(List<Byte> values) {
            addCriterion("OperationState not in", values, "operationstate");
            return (Criteria) this;
        }

        public Criteria andOperationstateBetween(Byte value1, Byte value2) {
            addCriterion("OperationState between", value1, value2, "operationstate");
            return (Criteria) this;
        }

        public Criteria andOperationstateNotBetween(Byte value1, Byte value2) {
            addCriterion("OperationState not between", value1, value2, "operationstate");
            return (Criteria) this;
        }

        public Criteria andOperationdateIsNull() {
            addCriterion("OperationDate is null");
            return (Criteria) this;
        }

        public Criteria andOperationdateIsNotNull() {
            addCriterion("OperationDate is not null");
            return (Criteria) this;
        }

        public Criteria andOperationdateEqualTo(Date value) {
            addCriterion("OperationDate =", value, "operationdate");
            return (Criteria) this;
        }

        public Criteria andOperationdateNotEqualTo(Date value) {
            addCriterion("OperationDate <>", value, "operationdate");
            return (Criteria) this;
        }

        public Criteria andOperationdateGreaterThan(Date value) {
            addCriterion("OperationDate >", value, "operationdate");
            return (Criteria) this;
        }

        public Criteria andOperationdateGreaterThanOrEqualTo(Date value) {
            addCriterion("OperationDate >=", value, "operationdate");
            return (Criteria) this;
        }

        public Criteria andOperationdateLessThan(Date value) {
            addCriterion("OperationDate <", value, "operationdate");
            return (Criteria) this;
        }

        public Criteria andOperationdateLessThanOrEqualTo(Date value) {
            addCriterion("OperationDate <=", value, "operationdate");
            return (Criteria) this;
        }

        public Criteria andOperationdateIn(List<Date> values) {
            addCriterion("OperationDate in", values, "operationdate");
            return (Criteria) this;
        }

        public Criteria andOperationdateNotIn(List<Date> values) {
            addCriterion("OperationDate not in", values, "operationdate");
            return (Criteria) this;
        }

        public Criteria andOperationdateBetween(Date value1, Date value2) {
            addCriterion("OperationDate between", value1, value2, "operationdate");
            return (Criteria) this;
        }

        public Criteria andOperationdateNotBetween(Date value1, Date value2) {
            addCriterion("OperationDate not between", value1, value2, "operationdate");
            return (Criteria) this;
        }

        public Criteria andCreateDateIsNull() {
            addCriterion("Create_date is null");
            return (Criteria) this;
        }

        public Criteria andCreateDateIsNotNull() {
            addCriterion("Create_date is not null");
            return (Criteria) this;
        }

        public Criteria andCreateDateEqualTo(Date value) {
            addCriterion("Create_date =", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotEqualTo(Date value) {
            addCriterion("Create_date <>", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateGreaterThan(Date value) {
            addCriterion("Create_date >", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateGreaterThanOrEqualTo(Date value) {
            addCriterion("Create_date >=", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateLessThan(Date value) {
            addCriterion("Create_date <", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateLessThanOrEqualTo(Date value) {
            addCriterion("Create_date <=", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateIn(List<Date> values) {
            addCriterion("Create_date in", values, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotIn(List<Date> values) {
            addCriterion("Create_date not in", values, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateBetween(Date value1, Date value2) {
            addCriterion("Create_date between", value1, value2, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotBetween(Date value1, Date value2) {
            addCriterion("Create_date not between", value1, value2, "createDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateIsNull() {
            addCriterion("Update_date is null");
            return (Criteria) this;
        }

        public Criteria andUpdateDateIsNotNull() {
            addCriterion("Update_date is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateDateEqualTo(Date value) {
            addCriterion("Update_date =", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotEqualTo(Date value) {
            addCriterion("Update_date <>", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateGreaterThan(Date value) {
            addCriterion("Update_date >", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateGreaterThanOrEqualTo(Date value) {
            addCriterion("Update_date >=", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateLessThan(Date value) {
            addCriterion("Update_date <", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateLessThanOrEqualTo(Date value) {
            addCriterion("Update_date <=", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateIn(List<Date> values) {
            addCriterion("Update_date in", values, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotIn(List<Date> values) {
            addCriterion("Update_date not in", values, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateBetween(Date value1, Date value2) {
            addCriterion("Update_date between", value1, value2, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotBetween(Date value1, Date value2) {
            addCriterion("Update_date not between", value1, value2, "updateDate");
            return (Criteria) this;
        }

        public Criteria andBossParkidIsNull() {
            addCriterion("boss_parkid is null");
            return (Criteria) this;
        }

        public Criteria andBossParkidIsNotNull() {
            addCriterion("boss_parkid is not null");
            return (Criteria) this;
        }

        public Criteria andBossParkidEqualTo(String value) {
            addCriterion("boss_parkid =", value, "bossParkid");
            return (Criteria) this;
        }

        public Criteria andBossParkidNotEqualTo(String value) {
            addCriterion("boss_parkid <>", value, "bossParkid");
            return (Criteria) this;
        }

        public Criteria andBossParkidGreaterThan(String value) {
            addCriterion("boss_parkid >", value, "bossParkid");
            return (Criteria) this;
        }

        public Criteria andBossParkidGreaterThanOrEqualTo(String value) {
            addCriterion("boss_parkid >=", value, "bossParkid");
            return (Criteria) this;
        }

        public Criteria andBossParkidLessThan(String value) {
            addCriterion("boss_parkid <", value, "bossParkid");
            return (Criteria) this;
        }

        public Criteria andBossParkidLessThanOrEqualTo(String value) {
            addCriterion("boss_parkid <=", value, "bossParkid");
            return (Criteria) this;
        }

        public Criteria andBossParkidLike(String value) {
            addCriterion("boss_parkid like", value, "bossParkid");
            return (Criteria) this;
        }

        public Criteria andBossParkidNotLike(String value) {
            addCriterion("boss_parkid not like", value, "bossParkid");
            return (Criteria) this;
        }

        public Criteria andBossParkidIn(List<String> values) {
            addCriterion("boss_parkid in", values, "bossParkid");
            return (Criteria) this;
        }

        public Criteria andBossParkidNotIn(List<String> values) {
            addCriterion("boss_parkid not in", values, "bossParkid");
            return (Criteria) this;
        }

        public Criteria andBossParkidBetween(String value1, String value2) {
            addCriterion("boss_parkid between", value1, value2, "bossParkid");
            return (Criteria) this;
        }

        public Criteria andBossParkidNotBetween(String value1, String value2) {
            addCriterion("boss_parkid not between", value1, value2, "bossParkid");
            return (Criteria) this;
        }
    }

    /**
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}